﻿//************************************************************ 
// Copyright © 2009 - 2010 Oleg Stuhin & Rostislav Haitovich
// To learn more about Mytrip.Mvc.Entyty visit 
// http://starterkitmytripmvc.codeplex.com/
// mytripmvc@gmail.com
// license: Microsoft Public License (Ms-PL) 
// ***********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mytrip.Theme
{
    /// <summary>
    /// MiscElements
    /// </summary>
    public static class MiscElements
    {
        /// <summary>
        /// clear: both;
        /// </summary>
        /// <returns>static string</returns>
        public static string clear()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("clear: both;");
            return result.ToString();
        }
        /// <summary>
        /// color:Red;
        /// </summary>
        /// <returns>static string</returns>
        public static string error()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("color:Red;");
            return result.ToString();
        }
        /// <summary>
        /// color: #ff0000;
        /// </summary>
        /// <returns>static string</returns>
        public static string field_validation_error()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("color: #ff0000;");
            return result.ToString();
        }
        /// <summary>
        /// display: none;
        /// </summary>
        /// <returns>static string</returns>
        public static string field_validation_valid()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("display: none;");
            return result.ToString();
        }
        /// <summary>
        /// border: 1px solid #ff0000;
        /// background-color: #ffeeee;
        /// </summary>
        /// <returns>static string</returns>
        public static string input_validation_error()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("border: 1px solid #ff0000;");
            result.AppendLine("background-color: #ffeeee;");
            return result.ToString();
        }
        /// <summary>
        /// border: 1px solid #ff0000;
        /// background-color: #ffeeee;
        /// </summary>
        /// <returns>static string</returns>
        public static string captcha_validation_error()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("border: 1px solid #ff0000;");
            result.AppendLine("background-color: #ffeeee;");
            return result.ToString();
        }
        /// <summary>
        /// font-weight: bold;
        /// color: #ff0000;
        /// </summary>
        /// <returns>static string</returns>
        public static string validation_summary_errors()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("font-weight: bold;");
            result.AppendLine("color: #ff0000;");
            return result.ToString();
        }
        /// <summary>
        /// display: none;
        /// </summary>
        /// <returns>static string</returns>
        public static string validation_summary_valid()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("display: none;");
            return result.ToString();
        }
        /// <summary>
        /// margin: 0.5em 0;
        /// </summary>
        /// <returns>static string</returns>
        public static string label_field()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("margin: 0.5em 0;");
            return result.ToString();
        }
        /// <summary>
        /// width: 30em;
        /// </summary>
        /// <returns>static string</returns>
        public static string text_box()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("width: 30em;");
            return result.ToString();
        }
        /// <summary>
        /// height: 6.5em;
        /// </summary>
        /// <returns>static string</returns>
        public static string text_box_multi_line()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("height: 6.5em;");
            return result.ToString();
        }
        /// <summary>
        /// width: 6em;
        /// </summary>
        /// <returns>static string</returns>
        public static string tri_state()
        {
            StringBuilder result = new StringBuilder();
            result.AppendLine("width: 6em;");
            return result.ToString();
        }
    }
}
